<div ng-controller="reportInfoCtrl" class="cry w_report">

        <!--==============原材料模板begin===========-->
        <script type="text/ng-template" id="imgtpl.html">
            <div class="modal_theme1">
                <div class="modal-header">
                    <h3 class="modal-title">图片显示</h3>
                </div>
                <div class="modal-body">
                    <img width="560" ng-src="{{src.img_url}}" alt="">
                </div>
                <div class="modal-footer">
                    <button class="btn btn-cancel" ng-click="cancel()">关闭</button>
                </div>
            </div>
        </script>
        <!--==============原材料模板end=============-->




    <div class="cry_title">
        <h3 class="mainTitle"> 
            报备详情
        </h3>
        <div class="tools">
            <ul>
                <li>
                    <button class="btn btn-default" href="javascript:;" onclick="javascript:window.print();">打印本页</button>
                </li>
                <li>
                    <a class="btn btn-default" href="javascript:history.go(-1)">返回</a>
                </li>
            </ul>
        </div>
    </div>
    <!--startprint-->
    <div class="container-fluid bg-white">
        <form role="form" class="form-horizontal cry_form">
            <div class="wtit">
                报备单号：{{result.code}}
            </div>
            <div class="wtop">
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        报备单号:
                    </label>
                    <div class="col-sm-3">
                        <p style="padding-top: 7px;" class="wp" ng-bind="result.code"></p>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        报备时间时间:
                    </label>
                    <div class="col-sm-3">
                        <p style="padding-top: 7px;" class="wp" ng-bind="result.created_at"></p>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        举办人名:
                    </label>
                    <div class="col-sm-3">
                        <p style="padding-top: 7px;" class="wp" ng-bind="result.user_name"></p>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        联系电话:
                    </label>
                    <div class="col-sm-3">
                        <p style="padding-top: 7px;" class="wp" ng-bind="result.phone"></p>
                    </div>
                </div>
            </div>
            <div class="wtop">
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        举办地址
                    </label>
                    <div class="col-sm-3">
                        <p style="padding-top: 7px;" class="wp" ng-bind="result.address+result.address_detail"></p>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        身份证号
                    </label>
                    <div class="col-sm-3">
                        <p style="padding-top: 7px;" class="wp" ng-bind="result.id_card"></p>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        就餐时间
                    </label>
                    <div class="col-sm-3">
                        <p style="padding-top: 7px;" class="wp" ng-bind="result.start_date"></p>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        就餐次数
                    </label>
                    <div class="col-sm-3">
                        <p style="padding-top: 7px;" class="wp" ng-bind="result.repast_times"></p>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        就餐人数
                    </label>
                    <div class="col-sm-3">
                        <p style="padding-top: 7px;" class="wp" ng-bind="result.repast_members"></p>
                    </div>
                </div>
            </div>
            <div class="wtop">
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3" style="">
                        主厨
                    </label>
                    <div class="col-sm-10 wCookImg">
                        <ul>
                            <li>
                                <div class="wCookImg_img">
                                    <img class="img-circle" ng-src="{{result.cook.headurl}}" alt="" width="120" height="120">
                                </div>
                                <h4 class="wCookImg_tit" ng-bind="result.cook.co_username"></h4>
                                <p class="wCookImg_des">
                                    国家{{result.cook.co_rank}}级厨师
                                </p>
                                <p class="wCookImg_con" ng-bind="result.cook.co_mark">
                                </p>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        帮厨人名
                    </label>

                    <div class="col-sm-6">
                        <table class="table table-bordered" >
                            <thead>
                                <tr>
                                    <th>健康证</th>
                                    <th>姓名</th>
                                    <th>性别</th>
                                    <th>年龄</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="item in result.cook_helper">
                                    <td>
                                        <img ng-click="zoom(item)"  class="img-thumbnail" ng-src="{{item.img_url}}" alt="" width="60" height="60">
                                    </td>
                                    <td data-ng-bind="item.h_name"></td>
                                    <td data-ng-bind="item.h_gender"></td>
                                    <td>{{jsGetAge(item.h_birthday)}}</td>
                                </tr>
                                <tr>
                                    <td colspan="4" ng-show="result.cook_helper.length==0" style="text-align: center;">
                                        暂无数据
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        食材来源 
                    </label>
                    <div class="col-sm-6">
                        <table class="table table-bordered" >
                            <thead>
                                <tr>
                                    <th>食材</th>
                                    <th>有无检验合格证</th>
                                    <th>其他</th>
                                </tr>
                            </thead>
                            <tbody>
                                <tr ng-repeat="item in result.food_source">
                                    <td data-ng-bind="item.food"></td>
                                    <td data-ng-bind="item.is_qualified"></td>
                                    <td data-ng-bind="item.source"></td>
                                </tr>
                                <tr>
                                    <td colspan="3" ng-show="result.food_source.length==0" style="text-align: center;">
                                        暂无数据
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        加工环境
                    </label>
                    <div class="col-sm-5">
                        <table class="table">
                            <tbody>
                                <tr ng-repeat="item in result.work_env">
                                    <td>{{item.env_name}} :</td>
                                    <td data-ng-bind="item.env_value" class="text-left"></td>
                                </tr>
                                <tr>
                                    <td colspan="2" ng-show="result.work_env.length==0" style="text-align: center;">
                                        暂无数据
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </div>
                </div>
                <div class="form-group">
                    <label class="col-sm-1 control-label cry_label" for="inputEmail3">
                        有无其他危险品
                    </label>
                    <div class="col-sm-5">
                        <p style="padding-top: 7px;" class="wp" ng-bind="result.other_condition"></p>
                    </div>
                </div>
            </div>
        </form>
    </div>
    <!--endprint-->
</div>